;;; init-yasnippet.el --- yasnippet config -*- lexical-binding:t -*-
;;; Commentary:
;;; Code:

;; yasnippet 代码片段
(use-package yasnippet
  :defer t
  :hook (prog-mode . yas-minor-mode)
  :config
  (setq yas-snippet-dirs
	    '("~/.emacs.d/snippets"))
  (use-package yasnippet-snippets
    :defer t))

(provide 'init-yasnippet)
;;; init-yasnippet.el ends here
